The System’s short date string as obtained by calling “IUDateString”.
DateLong
The System’s long date string as obtained by calling “IUDateString”.
DateAbr
The System’s abbreviated date string as obtained by calling “IUDateString”.
TimeNoSec
The System’s time string without seconds as obtained by calling “IUTimeString”.
TimeSec
The System’s time string with seconds as obtained by calling “IUTimeString”.
strftime(%m/%d/%y)
The ANSI time formatting routine—see the strftime section in THINK’s Standard Libraries Manual. Note that you must provide the string contained within the parentheses—see the THINK manual.
FileName
The file name of the current window, the same as the name shown in the title bar.
FileFullName
The file name and path of the current window, with ‘:’ separating directories. For example, “YrKdng:Development:fred.c”.
UserName
The System uses STR ID -16096 as this Mac’s “Owner’s Name.” You set this in the “Sharing Setup” control panel.
ComputerName
The System uses STR ID -16413 as the “Macintosh Name.” You set this in the “Sharing Setup” control panel.
FunctionName
CMaster attempts to find the name of the function where the caret now resides, and uses that name—otherwise it returns an empty string.
FunctionPrototype
CMaster attempts to find the name of the function where the caret now resides, and if found computes the prototype for that function and uses that—otherwise it returns an empty string.
Class
CMaster attempts to find the name of the function where the caret now resides, and if found looks to see if there is both a class and method. If so, it uses the class name—otherwise, it returns an empty string.
Method
CMaster attempts to find the name of the function where the caret now resides, and if found looks to see if there is both a class and method. If so, it uses the method name—otherwise, it returns an empty string.
ProjectName
Returns the name of the current project, as shown in the project window.
ProjectFullName
Returns the path and name of the current project, as shown in the project window. For example, “YrKdng:CMaster 2:cm.pie.”
ThinkScrap
Returns the text currently pasted into the THINK clipboard.
Selection
Returns the text currently selected in the foremost window, or if no selection, nothing.
LineNumber
Returns the line number (counting from 1) containing the caret, or the start of a selection.